crypto/tls.clientHelloMsg.keyShares (field)
19 uses
crypto/tls (current package)
handshake_client.go#L169: hello.keyShares = []keyShare{
handshake_client.go#L182: hello.keyShares = []keyShare{{group: curveID, data: keyShareKeys.ecdhe.PublicKey().Bytes()}}
handshake_client_tls13.go#L60: if hs.keyShareKeys == nil || hs.keyShareKeys.ecdhe == nil || len(hs.hello.keyShares) == 0 {
handshake_client_tls13.go#L321: if slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_client_tls13.go#L343: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L383: hs.hello.keyShares = hello.keyShares
handshake_client_tls13.go#L443: if !slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_messages.go#L93: keyShares []keyShare
handshake_messages.go#L277: if len(m.keyShares) > 0 {
handshake_messages.go#L285: for _, ks := range m.keyShares {
handshake_messages.go#L617: m.keyShares = append(m.keyShares, ks)
handshake_messages.go#L702: keyShares: slices.Clone(m.keyShares),
handshake_server_tls13.go#L188: ki := slices.IndexFunc(hs.clientHello.keyShares, func(ks keyShare) bool {
handshake_server_tls13.go#L192: clientKeyShare = &hs.clientHello.keyShares[ki]
handshake_server_tls13.go#L553: if len(clientHello.keyShares) != 1 {
handshake_server_tls13.go#L557: ks := &clientHello.keyShares[0]
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |